﻿using System.Collections.Generic;
using System.Linq;

namespace HCMS.CommonDtos
{
    /// <summary>
    /// 分页列表 Dto
    /// </summary>
    public class ListPagerDto<TEntity> where TEntity : class
    {
        /// <summary>
        /// 数据
        /// </summary>
        public IEnumerable<TEntity> Data { get; set; } = Enumerable.Empty<TEntity>();

        /// <summary>
        /// 分页信息
        /// </summary>
        public PagerArgsDto PagerInfo { get; set; } = new PagerArgsDto();
    }
}
